#pragma once
#include <workflow/Workflow.h>
#include <workflow/WFTaskFactory.h>
#include <workflow/MySQLResult.h>

#define MYSQL_RETRY 1

namespace DBHandler{

void init_cache();
void print_result(WFMySQLTask *task);
//void check_status(WFMySQLTask *task,Frpc::Reply* rep);
void reply_collections(WFMySQLTask *task);
void reply_collectionitems(WFMySQLTask *task);
}